#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <ctype.h>
#include <assert.h>
char* my_strcpy(char a[], const char b[]) {
	char* ret = a;
	assert(a&&b!= NULL);
	/*while (*b != '\0') {
		*a = *b;
		a++;
		b++;
	}*/
	while (*a++ = *b++) {
		;
	}
	return ret;
}
int main() {
	char a[] = "abcdefg";
	char b[20] = { 0 };
	my_strcpy(b, a);
	printf("%s\n", a);
	printf("%s\n", b);
	return 0;
}